<?php

namespace App\http\Model;

use Illuminate\Database\Eloquent\Model;

class staffModel extends Model
{
    //
    public $table='staff';
    public $primaryKey='id';

    function staffShow($where){

        return $this->where('name','like',"%$where%")->paginate(2);
    }
}
